home *** CD-ROM | disk | FTP | other *** search
- From: "Kevin O'Donovan" <abaddon@nasoftwr.demon.co.uk>
- Subject: Re: GEM apps, in general
- Date: Tue, 26 Jul 1994 11:47:26 +0100 (BST)
- In-Reply-To: <Pine.3.87.9407251347.D1140-0100000@grad> from "Timothy Miller" at Jul 25, 94 01:44:47 pm
- Precedence: bulk
-
- > I can see what you're saying. A duplicate screen would be rather memory
- > expensive. Nevertheless, what I did was still noticably faster... PLUS
- > it kept track of the contents of the window for when I had to redraw a
- > section.
- >
- It may well be a lot faster, but its hideously expensive and inefficient.
- The main window of my first real gem application was a scrolling CLI window,
- and I initially considered doing redraws by maintaining a blittable copy of
- the screen. I soon realised I was just being lazy and did it properly though
- - I now save the objects on the screen (ie characters and their display
- attributes) instead, which has the advantage of taking less memory, of
- not having variable memory requirements for different colour depths, and of
- not being appreciably slower (apparently Ofir thought I was still blitting
- the screen for a while). It also gives me things like scrollback and cut and
- paste for free.
-
-
- > Bringing up one's toolkit is just fine. It's the 'mine is better than
- > yours' arguement that is the problem,
-
- Indeed, I've been very reluctant to mention anything about what I'm doing
- because I want to avoid such childishness.
-
- > You CANNOT leave everything up to the user! If you did, the
- > configuration woule be hell with countless options that must users
- > wouldn't understand,
-
- I've answered this earlier, but just to expand on it, configuration needn't
- be complex at all. Under X configuration of this nature is done in one of
- two places, the window manager's startup file or the user's .Xdefaults file.
- If these files are empty (a default for a naive user) then everything works
- fine (normally minimal files are provided by the systems administrator though).
- If the user wants to configure something then he just has to add a line to
- one of these files.
-
- > and the executables would be HUGE with libraries
- > with code for every conceivable option.
- Not really, there aren't that many such things to set really, as long as we
- are talking about window manager type functions and not application specific
- ones, Since this is a gem discussion list then I assume that's what we are
- talking about. However it does lead us nicely onto the subject of shared
- (dynamically linked) libraries...
-
- > Plus, the library developer
- > can't think of EVERYTHING.
- >
- He doesn't have to, others have done it for him. Check out guis on more
- mature platforms for inspiration then apply that to gem.
-
- Kev
- --
- Kevin O'Donovan
- abaddon@nasoftwr.demon.co.uk
- kebab@cix.compulink.co.uk
-
- Red meat isn't bad for you. Fuzzy blue-green meat is bad for you.
-
-